//
// Created by zhengbo on 23-4-18.
//

#ifndef VISUALIZATION_TOOL_LIDARPOINTS_H
#define VISUALIZATION_TOOL_LIDARPOINTS_H


#include <cstdint>
#include "RenderObject.h"


class LidarPoints : public RenderObject {
public:
    LidarPoints(float* data, int count);

    virtual void Update() override;

    virtual void Render() override;

    virtual void InitBuffer() override;

    virtual void ReleaseBuffer() override;

private:
    uint32_t mVbo = 0;
    int32_t mCount = 0;
};


#endif //VISUALIZATION_TOOL_LIDARPOINTS_H
